package com.educate.studentmanagementsystem.mapper;

import com.educate.studentmanagementsystem.pojo.entity.SchoolClass;
import com.educate.studentmanagementsystem.pojo.vo.SchoolClassVO;
import com.educate.studentmanagementsystem.pojo.vo.SchoolClassVO1;
import com.educate.studentmanagementsystem.pojo.vo.SchoolClassVO4;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SchoolClassMapper {

    List<SchoolClass> selectClassAll();

    int insertClass(SchoolClass schoolClass);

    int updateClassById(SchoolClass schoolClass);

    int deleteClassByIds(Integer[] ids);

    List<SchoolClassVO> selectClassVOWithStudentVOAll();

    List<SchoolClassVO1> selectClassVO1WithTeacherVO1ByGrade(String grade);

    List<SchoolClassVO4> selectClassDetailById(Integer id);

}
